<?php
/**
 * @package      OWNServices
 * @subpackage   site
 *
 * @author       Sanawin Tinsuwan
 * @copyright    Copyright (C) 20014 Sanawin Tinsuwan. All rights reserved.
 * @license      http://www.gnu.org/licenses/gpl.html GNU/GPL, see LICENSE.txt
 */

defined('_JEXEC') or die();

class OWNServicesViewLogin extends JViewLegacy
{
    /**
     * Execute and display a template script.
     *
     * @param   string  $tpl  The name of the template file to parse; automatically searches through the template paths.
     *
     * @return  mixed   A string if successful, otherwise a Error object.
     *
     * @since   1.6
     */
    public function display($tpl = null)
    {
        // Set some global property
        $document = JFactory::getDocument();

        $document->addStyleSheet(JUri::base(true).'/media/com_ownservices/css/bootstrap.min.css');
        $document->addStyleSheet(JUri::base(true).'/media/com_ownservices/css/font-awesome-4.3.0/css/font-awesome.min.css');

        //Ionicons
        $document->addStyleSheet(JUri::base(true).'/media/com_ownservices/css/ionicons-1.5.2/css/ionicons.min.css');

        //Theme style
        $document->addStyleSheet(JUri::base(true).'/media/com_ownservices/css/AdminLTE.css');

        return parent::display($tpl);
    }
}